package com.chmingx.JavaBasic.exception;

public class Assert {
    public static void main(String[] args) {
        int x = -1;
        assert x > 0 : "x must > 0";
        throw new RuntimeException("Wrong !!!");
    }
}
